package com.bodu.depress.mapper;

import com.bodu.core.common.CommonMapper;
import com.bodu.depress.entity.request.DepressOptionsRequest;
import com.bodu.depress.entity.vo.DepressOptionsVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Administrator
 */
@Mapper
public interface DepressOptionsMapper
        extends CommonMapper<DepressOptionsRequest, DepressOptionsVo> {

    /**
     * 得到选项
     * @param id
     * @return
     */
    List<DepressOptionsVo> findOptionsByQuestionId(@Param("questionId") Long questionId);
}
